Optimal. Leaf size=150 \[ -\frac {3 b^{10}}{a^{11} \left (b+a \sqrt [3]{x}\right )}+\frac {27 b^8 \sqrt [3]{x}}{a^{10}}-\frac {12 b^7 x^{2/3}}{a^9}+\frac {7 b^6 x}{a^8}-\frac {9 b^5 x^{4/3}}{2 a^7}+\frac {3 b^4 x^{5/3}}{a^6}-\frac {2 b^3 x^2}{a^5}+\frac {9 b^2 x^{7/3}}{7 a^4}-\frac {3 b x^{8/3}}{4 a^3}+\frac {x^3}{3 a^2}-\frac {30 b^9 \log \left (b+a \sqrt [3]{x}\right )}{a^{11}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 150, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {269, 272, 45}
\begin {gather*} -\frac {3 b^{10}}{a^{11} \left (a \sqrt [3]{x}+b\right )}-\frac {30 b^9 \log \left (a \sqrt [3]{x}+b\right )}{a^{11}}+\frac {27 b^8 \sqrt [3]{x}}{a^{10}}-\frac {12 b^7 x^{2/3}}{a^9}+\frac {7 b^6 x}{a^8}-\frac {9 b^5 x^{4/3}}{2 a^7}+\frac {3 b^4 x^{5/3}}{a^6}-\frac {2 b^3 x^2}{a^5}+\frac {9 b^2 x^{7/3}}{7 a^4}-\frac {3 b x^{8/3}}{4 a^3}+\frac {x^3}{3 a^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 269
Rule 272
Rubi steps
\begin {align*} \int \frac {x^2}{\left (a+\frac {b}{\sqrt [3]{x}}\right )^2} \, dx &=\int \frac {x^{8/3}}{\left (b+a \sqrt [3]{x}\right )^2} \, dx\\ &=3 \text {Subst}\left (\int \frac {x^{10}}{(b+a x)^2} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \text {Subst}\left (\int \left (\frac {9 b^8}{a^{10}}-\frac {8 b^7 x}{a^9}+\frac {7 b^6 x^2}{a^8}-\frac {6 b^5 x^3}{a^7}+\frac {5 b^4 x^4}{a^6}-\frac {4 b^3 x^5}{a^5}+\frac {3 b^2 x^6}{a^4}-\frac {2 b x^7}{a^3}+\frac {x^8}{a^2}+\frac {b^{10}}{a^{10} (b+a x)^2}-\frac {10 b^9}{a^{10} (b+a x)}\right ) \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {3 b^{10}}{a^{11} \left (b+a \sqrt [3]{x}\right )}+\frac {27 b^8 \sqrt [3]{x}}{a^{10}}-\frac {12 b^7 x^{2/3}}{a^9}+\frac {7 b^6 x}{a^8}-\frac {9 b^5 x^{4/3}}{2 a^7}+\frac {3 b^4 x^{5/3}}{a^6}-\frac {2 b^3 x^2}{a^5}+\frac {9 b^2 x^{7/3}}{7 a^4}-\frac {3 b x^{8/3}}{4 a^3}+\frac {x^3}{3 a^2}-\frac {30 b^9 \log \left (b+a \sqrt [3]{x}\right )}{a^{11}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 158, normalized size = 1.05 \begin {gather*} \frac {-252 b^{10}+2268 a b^9 \sqrt [3]{x}+1260 a^2 b^8 x^{2/3}-420 a^3 b^7 x+210 a^4 b^6 x^{4/3}-126 a^5 b^5 x^{5/3}+84 a^6 b^4 x^2-60 a^7 b^3 x^{7/3}+45 a^8 b^2 x^{8/3}-35 a^9 b x^3+28 a^{10} x^{10/3}}{84 a^{11} \left (b+a \sqrt [3]{x}\right )}-\frac {30 b^9 \log \left (b+a \sqrt [3]{x}\right )}{a^{11}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 127, normalized size = 0.85
method | result | size |
derivativedivides | \(\frac {\frac {a^{8} x^{3}}{3}-\frac {3 b \,x^{\frac {8}{3}} a^{7}}{4}+\frac {9 b^{2} x^{\frac {7}{3}} a^{6}}{7}-2 a^{5} b^{3} x^{2}+3 a^{4} x^{\frac {5}{3}} b^{4}-\frac {9 b^{5} x^{\frac {4}{3}} a^{3}}{2}+7 a^{2} b^{6} x -12 a \,b^{7} x^{\frac {2}{3}}+27 b^{8} x^{\frac {1}{3}}}{a^{10}}-\frac {3 b^{10}}{a^{11} \left (b +a \,x^{\frac {1}{3}}\right )}-\frac {30 b^{9} \ln \left (b +a \,x^{\frac {1}{3}}\right )}{a^{11}}\) | \(127\) |
default | \(\frac {\frac {a^{8} x^{3}}{3}-\frac {3 b \,x^{\frac {8}{3}} a^{7}}{4}+\frac {9 b^{2} x^{\frac {7}{3}} a^{6}}{7}-2 a^{5} b^{3} x^{2}+3 a^{4} x^{\frac {5}{3}} b^{4}-\frac {9 b^{5} x^{\frac {4}{3}} a^{3}}{2}+7 a^{2} b^{6} x -12 a \,b^{7} x^{\frac {2}{3}}+27 b^{8} x^{\frac {1}{3}}}{a^{10}}-\frac {3 b^{10}}{a^{11} \left (b +a \,x^{\frac {1}{3}}\right )}-\frac {30 b^{9} \ln \left (b +a \,x^{\frac {1}{3}}\right )}{a^{11}}\) | \(127\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 145, normalized size = 0.97 \begin {gather*} \frac {28 \, a^{9} - \frac {35 \, a^{8} b}{x^{\frac {1}{3}}} + \frac {45 \, a^{7} b^{2}}{x^{\frac {2}{3}}} - \frac {60 \, a^{6} b^{3}}{x} + \frac {84 \, a^{5} b^{4}}{x^{\frac {4}{3}}} - \frac {126 \, a^{4} b^{5}}{x^{\frac {5}{3}}} + \frac {210 \, a^{3} b^{6}}{x^{2}} - \frac {420 \, a^{2} b^{7}}{x^{\frac {7}{3}}} + \frac {1260 \, a b^{8}}{x^{\frac {8}{3}}} + \frac {2520 \, b^{9}}{x^{3}}}{84 \, {\left (\frac {a^{11}}{x^{3}} + \frac {a^{10} b}{x^{\frac {10}{3}}}\right )}} - \frac {30 \, b^{9} \log \left (a + \frac {b}{x^{\frac {1}{3}}}\right )}{a^{11}} - \frac {10 \, b^{9} \log \left (x\right )}{a^{11}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 169, normalized size = 1.13 \begin {gather*} \frac {28 \, a^{12} x^{4} - 140 \, a^{9} b^{3} x^{3} + 420 \, a^{6} b^{6} x^{2} + 588 \, a^{3} b^{9} x - 252 \, b^{12} - 2520 \, {\left (a^{3} b^{9} x + b^{12}\right )} \log \left (a x^{\frac {1}{3}} + b\right ) - 63 \, {\left (a^{11} b x^{3} - 3 \, a^{8} b^{4} x^{2} + 12 \, a^{5} b^{7} x + 20 \, a^{2} b^{10}\right )} x^{\frac {2}{3}} + 18 \, {\left (6 \, a^{10} b^{2} x^{3} - 15 \, a^{7} b^{5} x^{2} + 105 \, a^{4} b^{8} x + 140 \, a b^{11}\right )} x^{\frac {1}{3}}}{84 \, {\left (a^{14} x + a^{11} b^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 367 vs.
\(2 (150) = 300\).
time = 1.02, size = 367, normalized size = 2.45 \begin {gather*} \begin {cases} \frac {28 a^{10} x^{\frac {10}{3}}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {35 a^{9} b x^{3}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} + \frac {45 a^{8} b^{2} x^{\frac {8}{3}}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {60 a^{7} b^{3} x^{\frac {7}{3}}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} + \frac {84 a^{6} b^{4} x^{2}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {126 a^{5} b^{5} x^{\frac {5}{3}}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} + \frac {210 a^{4} b^{6} x^{\frac {4}{3}}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {420 a^{3} b^{7} x}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} + \frac {1260 a^{2} b^{8} x^{\frac {2}{3}}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {2520 a b^{9} \sqrt [3]{x} \log {\left (\sqrt [3]{x} + \frac {b}{a} \right )}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {2520 b^{10} \log {\left (\sqrt [3]{x} + \frac {b}{a} \right )}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} - \frac {2520 b^{10}}{84 a^{12} \sqrt [3]{x} + 84 a^{11} b} & \text {for}\: a \neq 0 \\\frac {3 x^{\frac {11}{3}}}{11 b^{2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.56, size = 133, normalized size = 0.89 \begin {gather*} -\frac {30 \, b^{9} \log \left ({\left | a x^{\frac {1}{3}} + b \right |}\right )}{a^{11}} - \frac {3 \, b^{10}}{{\left (a x^{\frac {1}{3}} + b\right )} a^{11}} + \frac {28 \, a^{16} x^{3} - 63 \, a^{15} b x^{\frac {8}{3}} + 108 \, a^{14} b^{2} x^{\frac {7}{3}} - 168 \, a^{13} b^{3} x^{2} + 252 \, a^{12} b^{4} x^{\frac {5}{3}} - 378 \, a^{11} b^{5} x^{\frac {4}{3}} + 588 \, a^{10} b^{6} x - 1008 \, a^{9} b^{7} x^{\frac {2}{3}} + 2268 \, a^{8} b^{8} x^{\frac {1}{3}}}{84 \, a^{18}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 132, normalized size = 0.88 \begin {gather*} \frac {x^3}{3\,a^2}-\frac {3\,b^{10}}{a\,\left (a^{10}\,b+a^{11}\,x^{1/3}\right )}-\frac {3\,b\,x^{8/3}}{4\,a^3}+\frac {7\,b^6\,x}{a^8}-\frac {30\,b^9\,\ln \left (b+a\,x^{1/3}\right )}{a^{11}}-\frac {2\,b^3\,x^2}{a^5}+\frac {9\,b^2\,x^{7/3}}{7\,a^4}+\frac {3\,b^4\,x^{5/3}}{a^6}-\frac {9\,b^5\,x^{4/3}}{2\,a^7}-\frac {12\,b^7\,x^{2/3}}{a^9}+\frac {27\,b^8\,x^{1/3}}{a^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________